package com.zht.demo;

import com.zht.entity.FileUrlEntity;

import java.nio.file.Path;
import java.nio.file.Paths;

/**
 * 文件上传服务器测试
 *
 * @author zhaoht
 * @date 2024/6/6
 */
public class FileUpload {

    //上传路径
    private static Path uploadPath = Paths.get("/app/wisdom/server/uploadPath") ;

    public static void main(String[] args) {
        String filePath = new FileUrlEntity().getFilePath();
        Path path = Paths.get(filePath);
        System.out.println(path);
    }
}
